package lambda;

public class Util {
	static Function curry(final Function2 src) {
		return new Function() {
			public Object apply(final Object a) {
				return new Function() {
					public Object apply(final Object b) {
						return src.apply(a, b);
					}
				};
			}
		};
	}
}
